<?php
namespace app\validate;

use think\Validate;

class CheckMembers extends Validate
{

    protected $rule =   [
        'mobile'  => 'require|mobile',
        'role'  => 'require',
        'in_time'  => 'require',
    ];

    protected $message  =   [
        'mobile.require' => '请填写手机号',
        'mobile.mobile' => '请填写正确的手机号',
        'role.require' => '请选择角色！',
        'in_time.require' => '请选择入职时间',
    ];

}